package com.zisu.wcsopcua.enums.ddj;

import com.zisu.wcsopcua.enums.CodeEnum;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/14 10:06
 * @Version 1.0
 */
public enum Wcs2PlcVarEnum implements CodeEnum {
    /**
     *堆垛机
     **/
    Heart("Heart",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.Heart","QBoolean",""),
    ClearAlarm("ClearAlarm",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.ClearAlarm","QBoolean","手工解除报警指令"),
    CancelTask("CancelTask",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.CancelTask","QBoolean","堆垛机取消当前任务命令"),
    Estop("Estop",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.Estop","QBoolean","急停信号"),
    LaneNum("LaneNum",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.LaneNum","QShort","巷道编号"),
    InCode("InCode",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.InCode","QShort","入库站台号"),
    OutCode("OutCode",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.OutCode","QShort","出库站台号"),


    PickRow("PickRow",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.PickRow","QShort","取货排"),
    PickBay("PickBay",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.PickBay","QShort","取货列"),
    PickLevel("PickLevel",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.PickLevel","QShort","取货层"),
    SendRow("SendRow",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.SendRow","QShort","放货排"),
    SendBay("SendBay",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.SendBay","QShort","放货列"),
    SendLevel("SendLevel",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.SendLevel","QShort","放货层"),
    TaskNo("TaskNo",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.TaskNo","QInteger","任务号"),
    TaskType("TaskType",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.TaskType","QShort","1搬运2移动"),
    STB("STB",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.STB","QShort",""),
    ACK("ACK",6,"S7-1200 station_1.PLC_1.DB_WCSToPLC.ACK","QShort",""),


    /**
     *称重plc
     **/
    ;
    private Integer namespace;
    private String identity;
    private String type;
    private String desc;
    private String name;
    Wcs2PlcVarEnum(String name,Integer namespace, String identity,String type, String desc){
        this.name = name;
        this.namespace = namespace;
        this.identity = identity;
        this.type = type;
        this.desc = desc;
    }
    @Override
    public Integer getNamespace() {
        return namespace;
    }

    @Override
    public String getIdentity() {
        return identity;
    }

    @Override
    public String getType() {
        return type;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
